
	<script type="text/javascript">

	function checkLogin(){
		var login = document.getElementById("Login").value;
		var output = '<img src="<%=Sistema.Defs.LOADER_GIF%>" />';
		$.post("ServletProfissional", {tipo:"checkLogin", valor: login},
			function (data){
				document.getElementById("checkLogin_output").innerHTML = data;
			}
		);
		document.getElementById("checkLogin_output").innerHTML = output;
	}

	function VerifyPasswordMatch(){
		var senha1 = document.getElementById("Senha").value;
		var senha2 = document.getElementById("SenhaConf").value;
		var output = "";
		if (senha1 == senha2) {
		} else {
			output = "as senhas NAO estao iguais!";
		}
		document.getElementById("checkSenha_output").innerHTML = output;

	}
	</script>
	Login(*):<br/>
	<input type="text" name="Login" id="Login" size="20" maxlength="10"
		   autocomplete="off"
		   >
	<button onclick="checkLogin()"> Verificar Login</button>
	<br/>
	<span id="checkLogin_output"> </span>
	<br><br>

	Senha(*):<br/>
	<input type="password" name="Senha" id="Senha" size="20" maxlength="10"
		   autocomplete="off"
		   >
	<br><br>

	Conferir Senha(*):<br/>
	<input type="password" name="SenhaConf" id="SenhaConf" size="20" maxlength="10"
		   autocomplete="off"
		   onkeyup="setTimeout(function(){VerifyPasswordMatch()},100)"
		   >
	<br><br>
	<div id="checkSenha_output">

	</div>